﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Core.DataAccess.Model.Projects
{
    /// <summary>
    /// 项目微信支付配置
    /// </summary>
    public partial class ProjectWChatPay
    {
        public int Id { get; set; }

        /// <summary>
        /// 项目关键字
        /// </summary>
        public int ProjectKey { get; set; }

        /// <summary>
        /// 微信应用ID
        /// </summary>
        public string AppCode { get; set; }

        /// <summary>
        /// 支付Api服务地址
        /// </summary>
        public string ApiUrl { get; set; }

        /// <summary>
        /// 微信支付商户号
        /// </summary>
        public string MchId { get; set; }

        /// <summary>
        /// API密钥
        /// </summary>
        public string ApiKey { get; set; }

        /// <summary>
        /// 付款成功后通知地址
        /// </summary>
        public string NotifyUrl { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }

        #region 小程序

        /// <summary>
        /// 小程序ID
        /// </summary>
        public string MinAppId { get; set; }

        /// <summary>
        /// 公钥
        /// </summary>
        public string MinSecret { get; set; }

        #endregion
    }
}
